import request from '@/config/axios'
// import type { TableData } from './types'
// 查询部门tree
export const getDepartmentTreeListApi = (): Promise<LoginResponse> => {
  return request.get({ url: '/sys/depart/queryTreeList' })
}
//
// export const getDepRoleTreeListApi = (): Promise<LoginResponse> => {
//   return request.get({ url: '/sys/role/queryTreeList' })
// }
